\documentclass[10pt]{beamer}
\usetheme[
%%% options passed to the outer theme
%    hidetitle,           % hide the (short) title in the sidebar
%    hideauthor,          % hide the (short) author in the sidebar
%    hideinstitute,       % hide the (short) institute in the bottom of the sidebar
%    shownavsym,          % show the navigation symbols
%    width=2cm,           % width of the sidebar (default is 2 cm)
%    hideothersubsections,% hide all subsections but the subsections in the current section
%    hideallsubsections,  % hide all subsections
%%% options passed to the color theme
%    lightheaderbg        % use a light header background
  ]{aausidebar}
  
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
% Or whatever. Note that the encoding and the font should match. If T1
% does not look nice, try deleting the line with the fontenc.
\usepackage{lmodern} %optional

% colored hyperlinks
\newcommand{\chref}[2]{%
  \href{#1}{{\usebeamercolor[bg]{aau sidebar}#2}}
}

\newcommand{\TikzBrickWall}[2]{
\draw[thin,color=black!30,fill=red!70!black] (0.75+#1,-0.25+#2) -- (0.75+#1,0.75+#2) -- (1.75+#1,1.05+#2) -- (2+#1,0.8+#2) -- (1+#1,-0.5+#2) -- (0.75+#1,-0.25+#2); % 3D effekt
\draw[thin,color=black!30,fill=red!70!black] (1+#1,-0.5+#2) -- (1+#1,0.5+#2) -- (2+#1,0.8+#2) -- (2+#1,-0.2+#2) -- (1+#1,-0.5+#2);
\draw[thin,color=black!30, -] (0.75+#1,0+#2) -- (1+#1,-0.25+#2) -- (2+#1,0.05+#2); % Vandret Nederst
\draw[thin,color=black!30, -] (1.75+#1,-0.025+#2) -- (1.75+#1,-0.275+#2);  % Lodret Højre
\draw[thin,color=black!30, -] (1.25+#1,-0.175+#2) -- (1.25+#1,-0.425+#2);  % Lodret Venstre
\draw[thin,color=black!30, -] (0.75+#1,0.25+#2) -- (1+#1,0+#2) -- (2+#1,0.3+#2); % Vandret
\draw[thin,color=black!30, -] (1.5+#1,0.15+#2) -- (1.5+#1,-0.1+#2); % Lodret
\draw[thin,color=black!30, -] (.75+#1,0.5+#2) -- (1+#1,0.25+#2) -- (2+#1,0.55+#2); % Vandret
\draw[thin,color=black!30, -] (1.75+#1,0.475+#2) -- (1.75+#1,0.225+#2); % Lodret Højre
\draw[thin,color=black!30, -] (1.25+#1,0.325+#2) -- (1.25+#1,0.075+#2); % Lodret Venstre
\draw[thin,color=black!30, -] (1.25+#1,0.9+#2) -- (1.5+#1,0.65+#2) -- (1.5+#1,0.4+#2); % Lodret Øverst
\draw[thin,color=black!30, -] (0.75+#1,0.75+#2) -- (1+#1,0.5+#2);
}